<?php

namespace app\api\model;

use think\admin\Model;

/**
 * 商城订单发货模型
 * Class ShopOrderSend
 * @package app\data\model
 */
class ShopOrderSend extends Model
{
    public static function getDetail(string $field = '', $where = []): array
    {
       $info = self::mk()->where($where)->field($field)->find();
       if(empty($info) === FALSE){
           return  $info->toArray();
       }
       return [];
    }
}
